#!/bin/bash


if [ $# -eq 1 ];then
	if [ "$1" != "-y" ];then
		echo "you can pass -y to accept all apt-get questions"
		exit 1
	fi
	
else 
	echo "you can pass -y to accept all apt-get questions"
fi


apt-get install extract libextractor1c2a python-extractor $1

apt-get install scapy $1

apt-get install catdoc $1

wget "http://nltk.googlecode.com/files/nltk-2.0b2.tar.gz"

tar xvzf nltk-2.0b2.tar.gz

cd nltk-2.0b2/

python setup.py install

cat <<AKA

#######################
Now do the following!!:
#######################

Python 2.5.2 (r252:60911, Oct  5 2008, 19:24:49) 
[GCC 4.3.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import nltk
>>> nltk.download()
NLTK Downloader
---------------------------------------------------------------------------
    d) Download      l) List      c) Config      h) Help      q) Quit
---------------------------------------------------------------------------
Downloader> D

Download which package (l=list; x=cancel)?
  Identifier> all

AKA
